#pragma once

class dmDbPolyline;

class CDrawPolylineOperator :
	public CAddInBaseOperator
{
public:
	CDrawPolylineOperator(HDiMineView* view,IDMAddIn *addin);
	~CDrawPolylineOperator(void);
	virtual int Init();
	virtual int OnLButtonDown(dmEventInfo &hevent);
	virtual int OnNoButtonDownAndMove(dmEventInfo &hevent);
	virtual int OnRButtonDown(dmEventInfo &hevent);
private:
	dmDbPolyline *m_pPolylineEnt;
	dmDbLayer *m_pTempLayer;
};
